home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / xdbdraw.odl < prev    next >
Encoding:
Text File  |  2006-08-23  |  1.4 KB  |  51 lines

  1. [ uuid(48B681D0-6F1E-11d2-8D6A-000021452DB6), version(1.0) ]
  2. library XDbDraw
  3. {
  4.     importlib("stdole32.tlb");
  5.     importlib("stdole2.tlb");
  6.  
  7.     //  Primary dispatch interface for CPropDraw
  8.     
  9.     [
  10.         uuid(57DDC894-6D8B-11D2-9D04-000001187863),
  11.         oleautomation,
  12.         dual
  13.     ]
  14.  
  15.     interface IDraw : IDispatch
  16.     {
  17.         [id(1)] HRESULT Draw([in] long hDC, [in] long lLeft, [in] long lTop, [in] long lRight, [in] long lBottom, [in] IDispatch* pIDisp, [in] long lFlags);
  18.     }
  19.  
  20.     [
  21.         uuid(A45EDFD0-6FE3-11d2-8D6C-000021452DB6),
  22.         oleautomation,
  23.         dual
  24.     ]
  25.  
  26.     interface IDrawEx : IDispatch
  27.     {
  28.         [id(1)] HRESULT Draw([in] IDispatch *pIDispView, [in] IDispatch* pIDispDbObj, [in] long lFlags);
  29.         [id(2), propget] HRESULT Properties([in, out] IDispatch **ppIDispProps);
  30.     }
  31.  
  32.     [
  33.         uuid(A45EDFD1-6FE3-11d2-8D6C-000021452DB6),
  34.         oleautomation,
  35.         dual
  36.     ]
  37.  
  38.     interface IView : IDispatch
  39.     {
  40.         [id(1), propget] HRESULT Properties([in, out] IDispatch **ppIDispProps);
  41.         [id(2)]             HRESULT DrawSetup([in] IDispatch *pIDispProps, [out, retval] BOOL *pbResult);
  42.         [propget, id(3)] HRESULT DC([out, retval] long *pVal);
  43.         [propput, id(3)] HRESULT DC([in] long newVal);
  44.         [id(4)] HRESULT GetBoundRect([out] long *lLeft, [out] long *lTop, [out] long *lRight, [out] long *lBottom);
  45.         [id(5)] HRESULT SetBoundRect([in] long lLeft, [in] long lTop, [in] long lRight, [in] long lBottom);
  46.     }
  47.  
  48.     //{{AFX_APPEND_ODL}}
  49.     //}}AFX_APPEND_ODL}}
  50. };
  51.